<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/react.development.js"></script>
    <script src="./lib/react-dom.development.js"></script>
    <!-- 生产环境中不建议使用 -->
    <script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>
</head>
<body>
    <div id="app"></div>
    <script type="text/babel">

     //ReactDOM react虚拟DOM对象
     //render函数 2个参数，第一个参数:渲染到虚拟DOM节点中的内容，第二参数是DOM节点
       ReactDOM.render(
           <h2>hello ReactJS!!!!</h2>,
           document.getElementById('app')
       );
    </script>
</body>
</html>